<?php

namespace App\Models;


use Illuminate\Database\Eloquent\Model;

class CarPackageCategory extends Model
{
	
    protected $table = 'car_package_categorys';

    public function brand()
    {
        return $this->belongsTo(Brand::class);
    }

    public function cars()
    {
        return $this->belongsTo(Car::class);
    }

    public function carPackage()
    {
        return $this->hasMany(CarPackage::class);
    }

    public function carPackageOrder()
    {
        return $this->hasMany(carPackageOrder::class);
    }
}
